package com.leyou.order.enums;

import lombok.Getter;

/**
 * @Author: Rose
 * @Date: 2021/4/13 14:16
 * @description ${description}
 * @version: 1.0.0
 */
@Getter
public enum OrderStatusEnum {

    UN_PAY(1, "未付款"),
    PAYED(2, "已付款，未发货"),
    DELIVERED(3, "已发货，未评价"),
    SUCCESS(4, "已确认，未评价"),
    CLOSED(5, "已关闭，交易失败"),
    RATED(6, "已评价"),

    ;
    private int code;
    private String desc;

    OrderStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
